<template>
    <view class="globe_back">
        <view class="box">
            <view class="flex card">
                <view class="title">旧密码</view>
                <view>
                    <input type="text" v-model="formData.name" placeholder="请填写旧密码" />
                </view>
            </view>
            <view class="flex card">
                <view class="title">新密码</view>
                <view>
                    <input type="text" v-model="formData.number" placeholder="请填写新密码" />
                </view>
            </view>
            <view class="flex card">
                <view class="title">确认密码</view>
                <view>
                    <input type="text" v-model="formData.phone" placeholder="请再次填写新密码确认" />
                </view>
            </view>
            <view class="flex justify_content_between f_24 mt_24">
                <view class="cl_3377FF">登录密码已设置，如需更改请填写上述信息</view>
                <view class="cl_666B75" @click="ForgotPassword">忘记密码？</view>
            </view>
            <view class="addBtn back_3377FF br_24 cl_fff mt_24">确认</view>
        </view>
    </view>
</template>

<script>
export default {
    data() {
        return {
            formData: {
                name: '',
                number: '',
                bank: '',
                phone: ''
            }
        };
    },
    methods: {
        ForgotPassword() {
            uni.navigateTo({
                url: '/pages/business/ForgotPassword'
            });
        }
    }
};
</script>

<style scoped lang="scss">
.box {
    padding: 32rpx;
    .card {
        background: white;
        font-size: 28rpx;
        border-radius: 24rpx;
        padding: 24rpx;
        .title {
            width: 148rpx;
            margin-right: 20rpx;
        }
    }
    .addBtn {
        width: 686rpx;
        height: 100rpx;
        line-height: 100rpx;
        text-align: center;
        margin: 24px auto;
        position: fixed;
        bottom: 80rpx;
    }
}
</style>
